package com.hilatest.wsexample.basic.chapter2.style;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService
@SOAPBinding(style=Style.DOCUMENT)
public interface TimeServerStyleDoc {

	@WebMethod
	@WebResult(partName="time_response")
	public abstract String getTimeString();
	
	@WebMethod
	@WebResult(partName="time_response")
	public abstract long getTimeAsElapsed();
}

